import json

class config():
    def __init__(self):
        self.local_node = ''
        self.can_node_list = []

    
    def read_json_file(self):
        with open('TrosParser/config.json') as f:
            data = json.load(f)
        self.local_node = data['local_node']
        self.can_node_list = data['can_node_list']
